import numpy as np

arr2d =np.array([[14,11,2,4,6],[43,24,4,9,5],[1,23,6,14,19],[12,5,19,14,20],[1,3,57,9,54]])
arr2d
print(arr2d)

print(arr2d[:2])
print(arr2d[:2,:2])
print(arr2d[:,2])

arr=np.array([10,6,5,11,18,16,9,8,3,20])
print(arr[[0,1,5]])
print(arr2d [[1,4]])
print(arr2d [[1,4],[2,3]])

student_score=np.array([[79,88,80],[89,90,92],[83,78,85],[78,76,80]])
print(student_score)
print(student_score>80)
print(student_score[student_score>80])

arr_one =np.array([[1,2,3,4,],[5,6,7,8],[9,10,11,12]])
arr_two=np.array([[2,3,4,5],[6,7,8,9],[10,11,12,13]])
print(arr_one+arr_two)
print(arr_one-arr_two)
print(arr_one*arr_two)
print(arr_one/arr_two)

arr_one=np.array([[1],[5],[9]])
print(arr_one)
arr_two =np.array([1,2,3,4])
print(arr_two)
arr_res=arr_one+arr_two
print(arr_res)

